package com.hntxk.cqzd.common.model;

import com.hntxk.cqzd.flup.entity.FlupFile;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

public class FileModel implements Serializable {

    @Id
    private Long fileId;


    private Long fkId; //表示某个文件表的外键id

    private String fileCode;

    private String fileName;

    private String fileExtension;

    private String fileAddress;

    private double fileSize;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date fileUpTime;

    //文件类型
    private String contentType;

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public Long getFileId() {
        return fileId;
    }

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }

    public Long getFkId() {
        return fkId;
    }

    public void setFkId(Long fkId) {
        this.fkId = fkId;
    }

    public String getFileCode() {
        return fileCode;
    }

    public void setFileCode(String fileCode) {
        this.fileCode = fileCode;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileExtension() {
        return fileExtension;
    }

    public void setFileExtension(String fileExtension) {
        this.fileExtension = fileExtension;
    }

    public String getFileAddress() {
        return fileAddress;
    }

    public void setFileAddress(String fileAddress) {
        this.fileAddress = fileAddress;
    }

    public double getFileSize() {
        return fileSize;
    }

    public void setFileSize(double fileSize) {
        this.fileSize = fileSize;
    }

    public Date getFileUpTime() {
        return fileUpTime;
    }

    public void setFileUpTime(Date fileUpTime) {
        this.fileUpTime = fileUpTime;
    }

    public Long getFileDownloadNo() {
        return fileDownloadNo;
    }

    public void setFileDownloadNo(Long fileDownloadNo) {
        this.fileDownloadNo = fileDownloadNo;
    }

    public String getFileRemark() {
        return fileRemark;
    }

    public void setFileRemark(String fileRemark) {
        this.fileRemark = fileRemark;
    }

    public Long getUpUserId() {
        return upUserId;
    }

    public void setUpUserId(Long upUserId) {
        this.upUserId = upUserId;
    }

    public String getUpUserName() {
        return upUserName;
    }

    public void setUpUserName(String upUserName) {
        this.upUserName = upUserName;
    }

    private Long fileDownloadNo;

    private String fileRemark;

    private Long upUserId;

    private String upUserName;
}
